package com.ruoyi.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.domain.BdmShareOutBonusLevel;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 分红池等级 Mapper 接口
 * </p>
 *
 * @author author
 * @since 2024-12-17
 */
public interface BdmShareOutBonusLevelMapper extends BaseMapper<BdmShareOutBonusLevel> {

    void addShareOutBonusLevelMoney(@Param("orderId") String orderId);

    @Select("select * from bdm_share_out_bonus_level where status = #{status}")
    BdmShareOutBonusLevel selectByStatus(@Param("status") Integer status);
}
